from django.urls import path
from . import views  # 从当前应用的views.py导入视图

urlpatterns = [
    # ... 其他URL模式
    path('ping/', views.ping, name='ping'),
    path('semester/', views.get_all_semesters, name='get_all_semesters'),
]
